package com.dataextend.entity;


import lombok.Data;

@Data
public class RolePermissionEntity {
    private Long id;
    private Long roleId;
    private Long permissionId;
    private RoleEntity roleEntity;
    private PermissionEntity permissionEntity;


    public Long getId() {
        return id;
    }

    public RolePermissionEntity setId(Long id) {
        this.id = id;
        return this;
    }

    public Long getRoleId() {
        return roleId;
    }

    public RolePermissionEntity setRoleId(Long roleId) {
        this.roleId = roleId;
        return this;
    }

    public Long getPermissionId() {
        return permissionId;
    }

    public RolePermissionEntity setPermissionId(Long permissionId) {
        this.permissionId = permissionId;
        return this;
    }

    public RoleEntity getRoleEntity() {
        return roleEntity;
    }

    public RolePermissionEntity setRoleEntity(RoleEntity roleEntity) {
        this.roleEntity = roleEntity;
        return this;
    }

    public PermissionEntity getPermissionEntity() {
        return permissionEntity;
    }

    public RolePermissionEntity setPermissionEntity(PermissionEntity permissionEntity) {
        this.permissionEntity = permissionEntity;
        return this;
    }
}
